#!usr/bin/env python
# -*- coding:utf-8 _*-
"""
@author:zhuyan
@file: series__.py
@time: 2018/10/06
"""

from pandas import *


class MySeries:

    def test_series__(self):
        obj = Series([4, 5, 6])
        print(obj)
        # 创建带索引的数组
        obj2 = Series([4, 5, 6],index=['anm','app','home'])
        print(obj2)
        print(obj2[obj2>5])
        pass 


if __name__ == '__main__':
    s = MySeries()
    s.test_series__()

